package com.woniu.defecttracking.service;

import com.woniu.defecttracking.dto.BugTypeDto;
import com.woniu.defecttracking.dto.FindBugDto;
import com.woniu.defecttracking.entity.BugType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.defecttracking.param.FindBugParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tiangle
 * @since 2021-12-31
 */
public interface BugTypeService extends IService<BugType> {
    FindBugDto findBugInfo();

    boolean addBugInfo(FindBugParam findBugTypeParam);

    boolean updateBugInfo(FindBugParam updateBugTypeInfo);

    boolean deleteBugInfo(List<Integer> ids);

    boolean updateStatusUp(Integer id);

    boolean updateStatusDown(Integer id);

    BugTypeDto findAllBugInfo();
}
